package com.atguigu.gmall.user.client;

import com.atguigu.gmall.model.user.UserAddress;
import org.apache.catalina.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author: Mamba
 * @Description:
 * @Time: 2021/1/8 16:46
 * @version: 1.0
 */
@FeignClient(value = "service-user")
public interface UserFeignClient {

    //查询收货地址集合
    @GetMapping("/api/user/findUserAddress")
    public List<UserAddress> findUserAddress();

}
